package cn.glc.daily.life.web.factory.login.core;

import cn.glc.daily.life.model.dto.LoginDto;
import org.springframework.stereotype.Component;

/**
 * 密码登录
 *
 * @author simon
 * @date 2020/11/10 15:01
 * @copyright:
 * @modifier
 * @motto a no talent, people who have to study hard
 */
@Component("passWordLogin")
public class PassWordLogin extends DefaultLoginFactory {

    @Override
    public Long login(LoginDto loginDto) {
        return super.login(loginDto);
    }

    @Override
    public Boolean match(LoginDto loginDto) {
        return false;
    }
}
